package com.jt.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jt.pojo.DemoUser;

import java.util.List;

/**
 * @outhor fufeixiang
 * @date 2021-04-28
 */
/*注意事项：basemapper必须添加泛型对象 */
public interface DemoUserMapper extends BaseMapper<DemoUser> {

    List<DemoUser> findAll();

    void insertUser(DemoUser user);

    void updateUser(String oldName, String nowName);
}
